{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "url = 'http://www.spbeen.com'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "requests.get(url)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "response = requests.get(url)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "200"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.status_code"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html>\\n\\n<html lang=\"en\">\\n\\n\\t<head>\\n\\t\\t<meta charset=\"UTF-8\">\\n\\n\\t\\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n\\t\\t<meta name=\"keywords\" content=\"Python, Python资讯, Python基础教程, Python学习笔记, Python电子书, Python视频教程, Python编程练习, Python Django, Python Flask, Python Tutorials, Python Video Tutorials Download\">\\n\\t\\t<meta name=\"description\" content=\"www.spbeen.com是一个关于Python技术栈的教程网站，分教程、项目两类，目前有Python3教程、Xpath教程、基于Python的网络爬虫、基于Python的文件备份、\">\\n\\t\\t<meta name=\"author\" content=\"布啦豆\">\\n\\n\\t\\t<meta name=\"baidu_union_verify\" content=\"d4634268483255495b43735addb956bf\">\\n\\n        <meta property=\"og:type\" content=\"article\">\\n        <meta property=\"og:image\" content=\"http://upload-images.jianshu.io/upload_images/174489-0434c2855ab98c3a.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\">\\n        <meta property=\"og:url\" content=\"http://spbeen.com/course/Python3%E6%95%99%E7%A8%8B/\">\\n        <meta property=\"og:title\" content=\"Python3.x教程\">\\n        <meta property=\"og:description\" content=\"小白的Python3快速入门教程\">\\n\\n\\n\\t\\t<link rel=\"shortcut icon\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Ffavicon.ico\">\\n\\n\\t\\t<title>Python技术栈 | Spbeen</title>\\n        \\n    \\n\\t\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Ftopbottom.css\" />\\n\\n            <script src=\"https://cdn.bootcss.com/vue/2.1.10/vue.js\"></script>\\n\\n\\t\\t<!--<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css\">-->\\n        <!--<script src=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js\"></script>-->\\n\\n        <link href=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.css\" rel=\"stylesheet\">\\n        <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Fmarkdown-www.css\" />\\n        <style>\\n        #bread{background-color: white;box-shadow:0px 0px 0px white;color:black;}\\n        #bread a{color:black;}\\n        #mapicon{font-size: 2em;  margin-right: 0.3em;}\\n        </style>\\n\\n\\n            <script src=\"https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js\"></script>\\n\\n            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.js\"></script>\\n\\n            <script src=\"https://cdn.bootcss.com/reqwest/2.0.5/reqwest.js\"></script>\\n\\n\\n        \\n\\n    <script src=\"https://cdn.bootcss.com/highlight.js/9.8.0/highlight.min.js\"></script>\\n    <script>hljs.initHighlightingOnLoad();</script>\\n    <style>\\n        p{margin: 1em 0em 1em 0em;}\\n        a{color:black;}\\n        a:hover{color:#1dbfbf;}\\n    </style>\\n\\n\\n\\n\\t\\t<!--<script>(function(i,s,o,g,r,a,m){i[\"DaoVoiceObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset=\"utf-8\";m.parentNode.insertBefore(a,m)})(window,document,\"script\",(\\'https:\\' == document.location.protocol ? \\'https:\\' : \\'http:\\') + \"//widget.daovoice.io/widget/c824b807.js\",\"daovoice\")</script>-->\\n\\t\\t<!--<script>-->\\n\\t\\t<!--daovoice(\\'init\\', {-->\\n\\t\\t  <!--app_id: \"c824b807\"-->\\n\\t\\t<!--});-->\\n\\t\\t<!--daovoice(\\'update\\');-->\\n\\t\\t<!--</script>-->\\n\\t</head>\\n\\n\\t<body>\\n    \\n\\n\\n    <div class=\"ui sidebar inverted vertical menu\">\\n\\n        <a href=\"/\" class=\"item bigfont\">\\n            Spbeen <i class=\"home icon\"></i>\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>教程\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>项目\\n        </a>\\n\\n\\n\\n    </div>\\n    \\n\\n        <div class=\"pusher\">\\n            <div class=\"ui grid\">\\n                <div class=\"ui computer only sixteen wide computer column \">\\n                    \\n                    <div class=\"ui inverted teal borderless menu noradius\">\\n                        <div class=\"ui container\">\\n                            <a class=\"header item bigfont\" href=\"/\">\\n                                SpBeen\\n                            </a>\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">教程</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/course/Python3教程\">Python3教程</a>\\n                                    <a class=\"item\" href=\"/course/xpath教程/\" >Xpath教程</a>\\n                                    <a class=\"item\" href=\"/course/Linux常用命令/\" >Linux常用命令</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">项目</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/item/基于Flask的微信娱乐机器人\">基于Flask的微信娱乐机器人</a>\\n                                    <a class=\"item\" href=\"/item/基于Python的网络爬虫\">基于Python的网络爬虫</a>\\n                                    <a class=\"item\" href=\"/item/基于 Python 的文件备份\">基于 Python 的文件备份</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">工具</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/tool/request_info/\">IP请求信息查询</a>\\n                                </div>\\n                            </div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n                <div class=\"ui mobile only tablet only sixteen wide mobile sixteen wide tablet column\">\\n                    <div class=\"ui inverted teal borderless menu noradius mobile-tablet\">\\n                        <a id=\"sidebar\"  class=\"item\"><i class=\"bigger sidebar icon\"></i></a>\\n\\n                        <a href=\"/\" class=\"right item bigfont mobile-tablet-item\">Spbeen</a>\\n\\n                        <!--</div>-->\\n                    </div>\\n                </div>\\n            </div>\\n\\n        <div class=\"ui container\">\\n            <div id=\"bread\" class=\"ui icon message\">\\n\\n                    <i id=\"mapicon\" class=\"location arrow icon\"></i>\\n                    <div class=\"content\">\\n                    <p>\\n                        <div class=\"ui breadcrumb\">\\n\\n\\n                            \\n                                <a class=\"section\" href=\"/\">Spbeen</a>\\n                                <div class=\"divider\"> > </div>\\n                            \\n\\n                        </div>\\n                    </p>\\n                    </div>\\n\\n\\n            </div>\\n        </div>\\n\\n            <div class=\"content\">\\n                \\n<div id=\"content_show\" class=\"ui container\">\\n    <div class=\"ui grid\">\\n        <div class=\"sixteen wide mobile sixteen wide tablet twelve wide computer column\">\\n            <div class=\"ui blue segment\">\\n                <a class=\"ui red ribbon label\">教程</a>\\n                <!--<h1 class=\"ui header\">教程</h1>-->\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/Python3教程\">Python3教程</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            376398\\n                        </span>\\n                    </div>\\n                    <p>\\n                        Python3教程，从零开始，写一个通俗易懂的教程\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/xpath教程\">xpath教程</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            107972\\n                        </span>\\n                    </div>\\n                    <p>\\n                        xpath是一个分析html的强有力工具，Python爬虫可以方便的使用xpath来获取数据，写个针对爬虫的xpath教程\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/Linux常用命令\">Linux常用命令</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            25075\\n                        </span>\\n                    </div>\\n                    <p>\\n                        入门Linux必备的常用命令\\n                    </p>\\n                </div>\\n                \\n            </div>\\n            <div class=\"ui yellow segment\">\\n                <a class=\"ui red ribbon label\">项目</a>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/基于Flask的微信娱乐机器人\">基于Flask的微信娱乐机器人</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            37710\\n                        </span>\\n                    </div>\\n                    <p>\\n                        本次课程是基于 Flask Web 框架开发的娱乐级别的微信公众号后台，学习并实践 python 编程，Flask Web 开发以及微信公众平台开发机器人的基本步骤。\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/基于Python的网络爬虫\">基于Python的网络爬虫</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            67880\\n                        </span>\\n                    </div>\\n                    <p>\\n                        单线程python爬虫，爬模特图片，根据图片目录创建本地文件夹并将图图片保存到对应的目录中去。\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/基于 Python 的文件备份\">基于 Python 的文件备份</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        布啦豆\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            26530\\n                        </span>\\n                    </div>\\n                    <p>\\n                        本课程实现了一个 Python 的文件备份脚本，通过项目的实现，学习并实践 Python 的基础知识，Linux 的文件操作及简单的界面设计。\\n                    </p>\\n                </div>\\n                \\n            </div>\\n        </div>\\n\\n        <div class=\"ui computer only four wide computer column right \">\\n            <div class=\"ui red segment\">\\n                <div class=\"ui vertical text menu\">\\n                    <div class=\"active item\"><h4 class=\"ui headers\">最近更新</h4></div>\\n                    \\n                    <a class=\"item\" href=\"/p/b76a2e49-63c6-4076-a1c8-a09a653515e5\">\\n                        1. ls命令\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/52e1d29d-4901-4215-bb86-7276ad076457\">\\n                        2. cd命令\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/bb16e09d-511f-4728-af49-752ced909ec1\">\\n                        3. 逐层检索和全局检索\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/4fef7500-1f9c-471b-a56e-af741bc16012\">\\n                        4. 通过ID和Class检索\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/e4a032a4-3cf0-467b-9199-098240925504\">\\n                        5. 简单的标签搜索\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/a070c2e5-acf9-49e6-9baf-b5bf6bace059\">\\n                        6. 伊始\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">\\n                        7. 类的继承和多态\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">\\n                        8. 类的不同方法（概念）\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">\\n                        9. Python线程使用和概念理解\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">\\n                        10. yield和生成器是什么？\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">\\n                        11. 装饰器Decorator使用\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">\\n                        12. 对象的概念和使用示例\\n                    </a>\\n                    \\n                </div>\\n            </div>\\n\\n            <div class=\"ui violet segment\">\\n                <!--<div class=\"ui header center aligned\">扫码移步其他終端</div>-->\\n                <div class=\"ui header center aligned\">扫码关注微信公众号</div>\\n                <div class=\"ui image\">\\n                    <!--<img src=\"{-{ qrcode(url) }-}\" alt=\"\">-->\\n                    <img src=\"http://static.spbeen.com/img/wechat_qrcode/qrcode_for_gh_5e6077ecc776_1280.jpg\" alt=\"\">\\n                </div>\\n            </div>\\n\\n        </div>\\n    </div>\\n</div>\\n\\n\\n            </div>\\n\\n            \\n\\n            <div class=\"ui inverted teal segment noradius\">\\n                <div class=\"ui container\">\\n\\n                   Copyright @2016-2017 | 赣ICP备16003025号 <script type=\"text/javascript\">var cnzz_protocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");document.write(unescape(\"%3Cspan id=\\'cnzz_stat_icon_1260149661\\'%3E%3C/span%3E%3Cscript src=\\'\" + cnzz_protocol + \"s11.cnzz.com/z_stat.php%3Fid%3D1260149661\\' type=\\'text/javascript\\'%3E%3C/script%3E\"));</script>\\n\\n\\n                </div>\\n            </div>\\n\\n            \\n\\n            \\n            <script>\\n                $(document).ready(function(){\\n                    $(\".content table\").addClass(\"ui celled striped table\");\\n\\n                    $(\"#sidebar\").click(function(){\\n                      $(\\'.ui.sidebar\\').sidebar(\\'toggle\\');\\n                    });\\n\\n                });\\n            </script>\\n            \\n\\n    </div>\\n\\t</body>\\n\\n</html>'"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "## 字符串内容\n",
    "response.text"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "b'<!DOCTYPE html>\\n\\n<html lang=\"en\">\\n\\n\\t<head>\\n\\t\\t<meta charset=\"UTF-8\">\\n\\n\\t\\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n\\t\\t<meta name=\"keywords\" content=\"Python, Python\\xe8\\xb5\\x84\\xe8\\xae\\xaf, Python\\xe5\\x9f\\xba\\xe7\\xa1\\x80\\xe6\\x95\\x99\\xe7\\xa8\\x8b, Python\\xe5\\xad\\xa6\\xe4\\xb9\\xa0\\xe7\\xac\\x94\\xe8\\xae\\xb0, Python\\xe7\\x94\\xb5\\xe5\\xad\\x90\\xe4\\xb9\\xa6, Python\\xe8\\xa7\\x86\\xe9\\xa2\\x91\\xe6\\x95\\x99\\xe7\\xa8\\x8b, Python\\xe7\\xbc\\x96\\xe7\\xa8\\x8b\\xe7\\xbb\\x83\\xe4\\xb9\\xa0, Python Django, Python Flask, Python Tutorials, Python Video Tutorials Download\">\\n\\t\\t<meta name=\"description\" content=\"www.spbeen.com\\xe6\\x98\\xaf\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x85\\xb3\\xe4\\xba\\x8ePython\\xe6\\x8a\\x80\\xe6\\x9c\\xaf\\xe6\\xa0\\x88\\xe7\\x9a\\x84\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe7\\xbd\\x91\\xe7\\xab\\x99\\xef\\xbc\\x8c\\xe5\\x88\\x86\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81\\xe9\\xa1\\xb9\\xe7\\x9b\\xae\\xe4\\xb8\\xa4\\xe7\\xb1\\xbb\\xef\\xbc\\x8c\\xe7\\x9b\\xae\\xe5\\x89\\x8d\\xe6\\x9c\\x89Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81Xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab\\xe3\\x80\\x81\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\\xe3\\x80\\x81\">\\n\\t\\t<meta name=\"author\" content=\"\\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\">\\n\\n\\t\\t<meta name=\"baidu_union_verify\" content=\"d4634268483255495b43735addb956bf\">\\n\\n        <meta property=\"og:type\" content=\"article\">\\n        <meta property=\"og:image\" content=\"http://upload-images.jianshu.io/upload_images/174489-0434c2855ab98c3a.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\">\\n        <meta property=\"og:url\" content=\"http://spbeen.com/course/Python3%E6%95%99%E7%A8%8B/\">\\n        <meta property=\"og:title\" content=\"Python3.x\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">\\n        <meta property=\"og:description\" content=\"\\xe5\\xb0\\x8f\\xe7\\x99\\xbd\\xe7\\x9a\\x84Python3\\xe5\\xbf\\xab\\xe9\\x80\\x9f\\xe5\\x85\\xa5\\xe9\\x97\\xa8\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">\\n\\n\\n\\t\\t<link rel=\"shortcut icon\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Ffavicon.ico\">\\n\\n\\t\\t<title>Python\\xe6\\x8a\\x80\\xe6\\x9c\\xaf\\xe6\\xa0\\x88 | Spbeen</title>\\n        \\n    \\n\\t\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Ftopbottom.css\" />\\n\\n            <script src=\"https://cdn.bootcss.com/vue/2.1.10/vue.js\"></script>\\n\\n\\t\\t<!--<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css\">-->\\n        <!--<script src=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js\"></script>-->\\n\\n        <link href=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.css\" rel=\"stylesheet\">\\n        <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Fmarkdown-www.css\" />\\n        <style>\\n        #bread{background-color: white;box-shadow:0px 0px 0px white;color:black;}\\n        #bread a{color:black;}\\n        #mapicon{font-size: 2em;  margin-right: 0.3em;}\\n        </style>\\n\\n\\n            <script src=\"https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js\"></script>\\n\\n            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.js\"></script>\\n\\n            <script src=\"https://cdn.bootcss.com/reqwest/2.0.5/reqwest.js\"></script>\\n\\n\\n        \\n\\n    <script src=\"https://cdn.bootcss.com/highlight.js/9.8.0/highlight.min.js\"></script>\\n    <script>hljs.initHighlightingOnLoad();</script>\\n    <style>\\n        p{margin: 1em 0em 1em 0em;}\\n        a{color:black;}\\n        a:hover{color:#1dbfbf;}\\n    </style>\\n\\n\\n\\n\\t\\t<!--<script>(function(i,s,o,g,r,a,m){i[\"DaoVoiceObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset=\"utf-8\";m.parentNode.insertBefore(a,m)})(window,document,\"script\",(\\'https:\\' == document.location.protocol ? \\'https:\\' : \\'http:\\') + \"//widget.daovoice.io/widget/c824b807.js\",\"daovoice\")</script>-->\\n\\t\\t<!--<script>-->\\n\\t\\t<!--daovoice(\\'init\\', {-->\\n\\t\\t  <!--app_id: \"c824b807\"-->\\n\\t\\t<!--});-->\\n\\t\\t<!--daovoice(\\'update\\');-->\\n\\t\\t<!--</script>-->\\n\\t</head>\\n\\n\\t<body>\\n    \\n\\n\\n    <div class=\"ui sidebar inverted vertical menu\">\\n\\n        <a href=\"/\" class=\"item bigfont\">\\n            Spbeen <i class=\"home icon\"></i>\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>\\xe9\\xa1\\xb9\\xe7\\x9b\\xae\\n        </a>\\n\\n\\n\\n    </div>\\n    \\n\\n        <div class=\"pusher\">\\n            <div class=\"ui grid\">\\n                <div class=\"ui computer only sixteen wide computer column \">\\n                    \\n                    <div class=\"ui inverted teal borderless menu noradius\">\\n                        <div class=\"ui container\">\\n                            <a class=\"header item bigfont\" href=\"/\">\\n                                SpBeen\\n                            </a>\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe6\\x95\\x99\\xe7\\xa8\\x8b</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/course/Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                                    <a class=\"item\" href=\"/course/xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b/\" >Xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                                    <a class=\"item\" href=\"/course/Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4/\" >Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe9\\xa1\\xb9\\xe7\\x9b\\xae</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba\">\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba</a>\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab\">\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab</a>\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\">\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe5\\xb7\\xa5\\xe5\\x85\\xb7</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/tool/request_info/\">IP\\xe8\\xaf\\xb7\\xe6\\xb1\\x82\\xe4\\xbf\\xa1\\xe6\\x81\\xaf\\xe6\\x9f\\xa5\\xe8\\xaf\\xa2</a>\\n                                </div>\\n                            </div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n                <div class=\"ui mobile only tablet only sixteen wide mobile sixteen wide tablet column\">\\n                    <div class=\"ui inverted teal borderless menu noradius mobile-tablet\">\\n                        <a id=\"sidebar\"  class=\"item\"><i class=\"bigger sidebar icon\"></i></a>\\n\\n                        <a href=\"/\" class=\"right item bigfont mobile-tablet-item\">Spbeen</a>\\n\\n                        <!--</div>-->\\n                    </div>\\n                </div>\\n            </div>\\n\\n        <div class=\"ui container\">\\n            <div id=\"bread\" class=\"ui icon message\">\\n\\n                    <i id=\"mapicon\" class=\"location arrow icon\"></i>\\n                    <div class=\"content\">\\n                    <p>\\n                        <div class=\"ui breadcrumb\">\\n\\n\\n                            \\n                                <a class=\"section\" href=\"/\">Spbeen</a>\\n                                <div class=\"divider\"> > </div>\\n                            \\n\\n                        </div>\\n                    </p>\\n                    </div>\\n\\n\\n            </div>\\n        </div>\\n\\n            <div class=\"content\">\\n                \\n<div id=\"content_show\" class=\"ui container\">\\n    <div class=\"ui grid\">\\n        <div class=\"sixteen wide mobile sixteen wide tablet twelve wide computer column\">\\n            <div class=\"ui blue segment\">\\n                <a class=\"ui red ribbon label\">\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                <!--<h1 class=\"ui header\">\\xe6\\x95\\x99\\xe7\\xa8\\x8b</h1>-->\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            376398\\n                        </span>\\n                    </div>\\n                    <p>\\n                        Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xef\\xbc\\x8c\\xe4\\xbb\\x8e\\xe9\\x9b\\xb6\\xe5\\xbc\\x80\\xe5\\xa7\\x8b\\xef\\xbc\\x8c\\xe5\\x86\\x99\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe9\\x80\\x9a\\xe4\\xbf\\x97\\xe6\\x98\\x93\\xe6\\x87\\x82\\xe7\\x9a\\x84\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            107972\\n                        </span>\\n                    </div>\\n                    <p>\\n                        xpath\\xe6\\x98\\xaf\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x88\\x86\\xe6\\x9e\\x90html\\xe7\\x9a\\x84\\xe5\\xbc\\xba\\xe6\\x9c\\x89\\xe5\\x8a\\x9b\\xe5\\xb7\\xa5\\xe5\\x85\\xb7\\xef\\xbc\\x8cPython\\xe7\\x88\\xac\\xe8\\x99\\xab\\xe5\\x8f\\xaf\\xe4\\xbb\\xa5\\xe6\\x96\\xb9\\xe4\\xbe\\xbf\\xe7\\x9a\\x84\\xe4\\xbd\\xbf\\xe7\\x94\\xa8xpath\\xe6\\x9d\\xa5\\xe8\\x8e\\xb7\\xe5\\x8f\\x96\\xe6\\x95\\xb0\\xe6\\x8d\\xae\\xef\\xbc\\x8c\\xe5\\x86\\x99\\xe4\\xb8\\xaa\\xe9\\x92\\x88\\xe5\\xaf\\xb9\\xe7\\x88\\xac\\xe8\\x99\\xab\\xe7\\x9a\\x84xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/course/Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4\">Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            25075\\n                        </span>\\n                    </div>\\n                    <p>\\n                        \\xe5\\x85\\xa5\\xe9\\x97\\xa8Linux\\xe5\\xbf\\x85\\xe5\\xa4\\x87\\xe7\\x9a\\x84\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4\\n                    </p>\\n                </div>\\n                \\n            </div>\\n            <div class=\"ui yellow segment\">\\n                <a class=\"ui red ribbon label\">\\xe9\\xa1\\xb9\\xe7\\x9b\\xae</a>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba\">\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            37710\\n                        </span>\\n                    </div>\\n                    <p>\\n                        \\xe6\\x9c\\xac\\xe6\\xac\\xa1\\xe8\\xaf\\xbe\\xe7\\xa8\\x8b\\xe6\\x98\\xaf\\xe5\\x9f\\xba\\xe4\\xba\\x8e Flask Web \\xe6\\xa1\\x86\\xe6\\x9e\\xb6\\xe5\\xbc\\x80\\xe5\\x8f\\x91\\xe7\\x9a\\x84\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe7\\xba\\xa7\\xe5\\x88\\xab\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\x85\\xac\\xe4\\xbc\\x97\\xe5\\x8f\\xb7\\xe5\\x90\\x8e\\xe5\\x8f\\xb0\\xef\\xbc\\x8c\\xe5\\xad\\xa6\\xe4\\xb9\\xa0\\xe5\\xb9\\xb6\\xe5\\xae\\x9e\\xe8\\xb7\\xb5 python \\xe7\\xbc\\x96\\xe7\\xa8\\x8b\\xef\\xbc\\x8cFlask Web \\xe5\\xbc\\x80\\xe5\\x8f\\x91\\xe4\\xbb\\xa5\\xe5\\x8f\\x8a\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\x85\\xac\\xe4\\xbc\\x97\\xe5\\xb9\\xb3\\xe5\\x8f\\xb0\\xe5\\xbc\\x80\\xe5\\x8f\\x91\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba\\xe7\\x9a\\x84\\xe5\\x9f\\xba\\xe6\\x9c\\xac\\xe6\\xad\\xa5\\xe9\\xaa\\xa4\\xe3\\x80\\x82\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab\">\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            67880\\n                        </span>\\n                    </div>\\n                    <p>\\n                        \\xe5\\x8d\\x95\\xe7\\xba\\xbf\\xe7\\xa8\\x8bpython\\xe7\\x88\\xac\\xe8\\x99\\xab\\xef\\xbc\\x8c\\xe7\\x88\\xac\\xe6\\xa8\\xa1\\xe7\\x89\\xb9\\xe5\\x9b\\xbe\\xe7\\x89\\x87\\xef\\xbc\\x8c\\xe6\\xa0\\xb9\\xe6\\x8d\\xae\\xe5\\x9b\\xbe\\xe7\\x89\\x87\\xe7\\x9b\\xae\\xe5\\xbd\\x95\\xe5\\x88\\x9b\\xe5\\xbb\\xba\\xe6\\x9c\\xac\\xe5\\x9c\\xb0\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\xb9\\xe5\\xb9\\xb6\\xe5\\xb0\\x86\\xe5\\x9b\\xbe\\xe5\\x9b\\xbe\\xe7\\x89\\x87\\xe4\\xbf\\x9d\\xe5\\xad\\x98\\xe5\\x88\\xb0\\xe5\\xaf\\xb9\\xe5\\xba\\x94\\xe7\\x9a\\x84\\xe7\\x9b\\xae\\xe5\\xbd\\x95\\xe4\\xb8\\xad\\xe5\\x8e\\xbb\\xe3\\x80\\x82\\n                    </p>\\n                </div>\\n                \\n                <div class=\"ui vertical segment\">\\n                    <h3 class=\"ui header\">\\n                        <a href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\">\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd</a>\\n                    </h3>\\n                    <div class=\"ui sub\">\\n                        <span class=\"\"><i class=\"user icon\"></i>\\n                        \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                        </span>\\n                        <span class=\"\"><i class=\"eye icon\"></i>\\n                            26530\\n                        </span>\\n                    </div>\\n                    <p>\\n                        \\xe6\\x9c\\xac\\xe8\\xaf\\xbe\\xe7\\xa8\\x8b\\xe5\\xae\\x9e\\xe7\\x8e\\xb0\\xe4\\xba\\x86\\xe4\\xb8\\x80\\xe4\\xb8\\xaa Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\\xe8\\x84\\x9a\\xe6\\x9c\\xac\\xef\\xbc\\x8c\\xe9\\x80\\x9a\\xe8\\xbf\\x87\\xe9\\xa1\\xb9\\xe7\\x9b\\xae\\xe7\\x9a\\x84\\xe5\\xae\\x9e\\xe7\\x8e\\xb0\\xef\\xbc\\x8c\\xe5\\xad\\xa6\\xe4\\xb9\\xa0\\xe5\\xb9\\xb6\\xe5\\xae\\x9e\\xe8\\xb7\\xb5 Python \\xe7\\x9a\\x84\\xe5\\x9f\\xba\\xe7\\xa1\\x80\\xe7\\x9f\\xa5\\xe8\\xaf\\x86\\xef\\xbc\\x8cLinux \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe6\\x93\\x8d\\xe4\\xbd\\x9c\\xe5\\x8f\\x8a\\xe7\\xae\\x80\\xe5\\x8d\\x95\\xe7\\x9a\\x84\\xe7\\x95\\x8c\\xe9\\x9d\\xa2\\xe8\\xae\\xbe\\xe8\\xae\\xa1\\xe3\\x80\\x82\\n                    </p>\\n                </div>\\n                \\n            </div>\\n        </div>\\n\\n        <div class=\"ui computer only four wide computer column right \">\\n            <div class=\"ui red segment\">\\n                <div class=\"ui vertical text menu\">\\n                    <div class=\"active item\"><h4 class=\"ui headers\">\\xe6\\x9c\\x80\\xe8\\xbf\\x91\\xe6\\x9b\\xb4\\xe6\\x96\\xb0</h4></div>\\n                    \\n                    <a class=\"item\" href=\"/p/b76a2e49-63c6-4076-a1c8-a09a653515e5\">\\n                        1. ls\\xe5\\x91\\xbd\\xe4\\xbb\\xa4\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/52e1d29d-4901-4215-bb86-7276ad076457\">\\n                        2. cd\\xe5\\x91\\xbd\\xe4\\xbb\\xa4\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/bb16e09d-511f-4728-af49-752ced909ec1\">\\n                        3. \\xe9\\x80\\x90\\xe5\\xb1\\x82\\xe6\\xa3\\x80\\xe7\\xb4\\xa2\\xe5\\x92\\x8c\\xe5\\x85\\xa8\\xe5\\xb1\\x80\\xe6\\xa3\\x80\\xe7\\xb4\\xa2\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/4fef7500-1f9c-471b-a56e-af741bc16012\">\\n                        4. \\xe9\\x80\\x9a\\xe8\\xbf\\x87ID\\xe5\\x92\\x8cClass\\xe6\\xa3\\x80\\xe7\\xb4\\xa2\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/e4a032a4-3cf0-467b-9199-098240925504\">\\n                        5. \\xe7\\xae\\x80\\xe5\\x8d\\x95\\xe7\\x9a\\x84\\xe6\\xa0\\x87\\xe7\\xad\\xbe\\xe6\\x90\\x9c\\xe7\\xb4\\xa2\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/a070c2e5-acf9-49e6-9baf-b5bf6bace059\">\\n                        6. \\xe4\\xbc\\x8a\\xe5\\xa7\\x8b\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">\\n                        7. \\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe7\\xbb\\xa7\\xe6\\x89\\xbf\\xe5\\x92\\x8c\\xe5\\xa4\\x9a\\xe6\\x80\\x81\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">\\n                        8. \\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe4\\xb8\\x8d\\xe5\\x90\\x8c\\xe6\\x96\\xb9\\xe6\\xb3\\x95\\xef\\xbc\\x88\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xef\\xbc\\x89\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">\\n                        9. Python\\xe7\\xba\\xbf\\xe7\\xa8\\x8b\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe5\\x92\\x8c\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe7\\x90\\x86\\xe8\\xa7\\xa3\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">\\n                        10. yield\\xe5\\x92\\x8c\\xe7\\x94\\x9f\\xe6\\x88\\x90\\xe5\\x99\\xa8\\xe6\\x98\\xaf\\xe4\\xbb\\x80\\xe4\\xb9\\x88\\xef\\xbc\\x9f\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">\\n                        11. \\xe8\\xa3\\x85\\xe9\\xa5\\xb0\\xe5\\x99\\xa8Decorator\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\n                    </a>\\n                    \\n                    <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">\\n                        12. \\xe5\\xaf\\xb9\\xe8\\xb1\\xa1\\xe7\\x9a\\x84\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe7\\xa4\\xba\\xe4\\xbe\\x8b\\n                    </a>\\n                    \\n                </div>\\n            </div>\\n\\n            <div class=\"ui violet segment\">\\n                <!--<div class=\"ui header center aligned\">\\xe6\\x89\\xab\\xe7\\xa0\\x81\\xe7\\xa7\\xbb\\xe6\\xad\\xa5\\xe5\\x85\\xb6\\xe4\\xbb\\x96\\xe7\\xb5\\x82\\xe7\\xab\\xaf</div>-->\\n                <div class=\"ui header center aligned\">\\xe6\\x89\\xab\\xe7\\xa0\\x81\\xe5\\x85\\xb3\\xe6\\xb3\\xa8\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\x85\\xac\\xe4\\xbc\\x97\\xe5\\x8f\\xb7</div>\\n                <div class=\"ui image\">\\n                    <!--<img src=\"{-{ qrcode(url) }-}\" alt=\"\">-->\\n                    <img src=\"http://static.spbeen.com/img/wechat_qrcode/qrcode_for_gh_5e6077ecc776_1280.jpg\" alt=\"\">\\n                </div>\\n            </div>\\n\\n        </div>\\n    </div>\\n</div>\\n\\n\\n            </div>\\n\\n            \\n\\n            <div class=\"ui inverted teal segment noradius\">\\n                <div class=\"ui container\">\\n\\n                   Copyright @2016-2017 | \\xe8\\xb5\\xa3ICP\\xe5\\xa4\\x8716003025\\xe5\\x8f\\xb7 <script type=\"text/javascript\">var cnzz_protocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");document.write(unescape(\"%3Cspan id=\\'cnzz_stat_icon_1260149661\\'%3E%3C/span%3E%3Cscript src=\\'\" + cnzz_protocol + \"s11.cnzz.com/z_stat.php%3Fid%3D1260149661\\' type=\\'text/javascript\\'%3E%3C/script%3E\"));</script>\\n\\n\\n                </div>\\n            </div>\\n\\n            \\n\\n            \\n            <script>\\n                $(document).ready(function(){\\n                    $(\".content table\").addClass(\"ui celled striped table\");\\n\\n                    $(\"#sidebar\").click(function(){\\n                      $(\\'.ui.sidebar\\').sidebar(\\'toggle\\');\\n                    });\\n\\n                });\\n            </script>\\n            \\n\\n    </div>\\n\\t</body>\\n\\n</html>'"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "## 字节内容\n",
    "response.content"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Server': 'nginx/1.14.1', 'Date': 'Wed, 05 Aug 2020 02:17:48 GMT', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '16116', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN'}"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.headers"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<PreparedRequest [GET]>"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.request"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'User-Agent': 'python-requests/2.22.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.request.headers"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'http://www.spbeen.com/'"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.request.url"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'GET'"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.request.method"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
